namespace Core
{
    public partial class BulletConfig
    {
        public int layerMask;
    }

    public partial class BulletConfigLoader
    {
        protected override void OnEndLoad()
        {
            foreach (var item in dict.Values)
            {
                var config = item as BulletConfig;
                config.layerMask = LayerMaskHelper.GetLayerMask(config.mask);
            }
        }
    }
}